#ifndef LOG_H
#define LOG_H

#include "log4cpp/Category.hh"
#include "log4cpp/PropertyConfigurator.hh"

typedef log4cpp::Category LogInstance ;

bool initLog () ;

LogInstance & getConsoleLog ( ) ;
LogInstance &  getFileLog ( ) ;

#define LOGCON (getConsoleLog())
#define LOGFILE (getFileLog())

#endif
